<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title th:text="#{user.password.modify}">修改密码</title>
</head>
<body>
<form th:action="@{/user/changePassword}" method="post">
    <div class="form-group">
        <span th:text="#{user.password.new}"></span>
        <input class="form-control" name="password" type="password"
               th:placeholder="#{user.password.new.length}"
               pattern="^.{6,}$">
    </div>
    <div class="form-group">
        <span th:text="#{user.password.confirm}"></span>
        <input class="form-control" name="confirmPassword" type="password"
               th:placeholder="#{user.password.confirm.not.match}"
               pattern="^.{6,}$">
    </div>
    <button type="submit" th:text="#{common.confirm}"></button>
</form>
</body>
</html>